package testdemo;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: YKH
 * Date: 2022-04-10
 * Time: 14:45
 */
public class TestDemo01 {
    public static void main(String[] args) {
        Aninmal aninmal = new Aninmal("mimi",15);
        Aninmal aninma2 = new Aninmal("mimi",15);
        System.out.println(aninmal.equals(aninma2));
    }
}
